UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All .Xauthority files must have mode 0600 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-12014 GEN005180 SV-12515r2_rule ECLP-1 Medium
Description
.Xauthority files ensure the user is authorized to access the specific X Windows host. Excessive permissions may permit unauthorized modification of these files, which could lead to Denial of Service to authorized access or allow unauthorized access to be obtained.
STIG Date
SOLARIS 10 X86 SECURITY TECHNICAL IMPLEMENTATION GUIDE 2018-04-10

Details

Check Text ( C-7978r2_chk )
Check the file permissions for the .Xauthority files in the home directories of users of X.

Procedure:
# cd ~
# ls -lL .Xauthority

If the file mode is more permissive than 0600, this is finding.
Fix Text (F-11274r2_fix)
Change the mode of the .Xauthority files.

Procedure:
# chmod 0600 .Xauthority